Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Added Player.Functions.GetName() function and QBCore.Functions.GetName() #1161

Merged
merged 5 commits into from
Jan 10, 2025

Conversation

Cocodrulo
Copy link
Contributor

Description

This add two new functions to both client and server side. In the client you can do QBCore.Functions.GetName() and this will retrieve a string like this "firstname lastname". Same in the server with Player.Functions.GetName().

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

@Cocodrulo
Copy link
Contributor Author

Fixed horrific mistake :)

@GhzGarage GhzGarage merged commit 9898682 into qbcore-framework:main Jan 10, 2025
2 checks passed
@Cocodrulo Cocodrulo deleted the feature/getname branch January 10, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants